using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DevExpress.Utils.Serializing;
using DevExpress.XtraGrid.Views.Grid;

namespace Comteck.Winforms.Controls.Components {
  /// <summary>
  /// 
  /// </summary>
  public class CustomGridOptionsSelection : GridOptionsSelection {
    /// <summary>
    /// 设置为多选
    /// </summary>
    [DefaultValue(true)]
    [XtraSerializableProperty]
    public override bool MultiSelect { get; set; } = true;

    /// <summary>
    /// 自带勾选列的宽度
    /// </summary>
    [DefaultValue(0)]
    [XtraSerializableProperty]
    public override int CheckBoxSelectorColumnWidth { get; set; } = 35;

    /// <summary>
    /// 选中序号列是否勾选
    /// </summary>
    [DefaultValue(false)]
    [XtraSerializableProperty]
    public override bool UseIndicatorForSelection { get; set; } = false;
  }
}
